package com.express.param;

import com.express.basic.constant.ExpressConstant;

public class MsgResponse {
	
	private static String success_code = "200";
	
	private static String success_message = "请求成功";
	
	private String code;
	private String message;
	
	private Object Data;

	
	
	
	public MsgResponse() {
		super();
		this.code = success_code;
		this.message = success_message;
	}
	public MsgResponse(ExpressConstant.MsgCode msgCode) {
		super();
		this.code = msgCode.getCode();
		this.message = msgCode.getMessage();
	}
	
	
	public MsgResponse(String code, String message) {
		super();
		this.code = code;
		this.message = message;
	}
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getData() {
		return Data;
	}

	public void setData(Object data) {
		Data = data;
	}
	
	
	
	
}
